<!-- @dana Tubeileh

this the exercise page with the content of the exercise -->
#{extends 'main.html' /} #{set title:'Home' /}
<body bgcolor="#CCEEFF">
	<h1>
		<i> <marquee bgcolor="#cccccc" loop="-1" scrollamount="2"
				width="100%">My Exercise's Questions</marquee>
		</i>
	</h1>

	#{list items:questions, as:'qList'}

	<ul>
		<li>
			<h1>${qList.theQuestion}</h1>
		</li>
	</ul>
	</ul>
	#{list items:qList.myChoices, as:'listchoices'}
	<ul>
		<li><h3>${listchoices.choice}</h3></li>
	</ul>


	#{/list} #{/list}

	<li><a href="@{Exercises.postModelAnswer(id)}" value="${id}">post
			model answer</li>
	<!--@hadeer ahmed  this button refers to the editmethod where the edit page is rendered  -->
	<li><a href="@{Exercises.editExercise(id)}">Edit Exercise</a></br>
	<li>
	<li><a href="@{Exercises.deleteExercise(id)}">delete Exercise</a></br>
	<li>
</body>